#include "mainwindow.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    // // 连接param_manager层和tuning_tab层
    // isp_tuning::param_manager manager;
    // isp_tuning::tuning_tab tab;
    // bool isConnected = QObject::connect(&tab, &isp_tuning::tuning_tab::metadata_updated,
    //                  &manager, &isp_tuning::param_manager::update_raw_metadata);



    // if (isConnected) {
    //     qDebug() << "Signal and slot connected successfully!";
    // } else {
    //     qDebug() << "Failed to connect signal and slot!";
    // }

    // // manager.update_raw_metadata(1,1,1,1);
    // // emit tab.metadata_updated(1920, 1080, 10, 0);

    MainWindow w;
    w.show();

    return a.exec();
}
